package com.wzt.lianfirecontrol.bean.recode.home.jiankong;

import com.wzt.lianfirecontrol.bean.BaseModel;

public class JianKongDeviceModel extends BaseModel {

    private String id;
    private String createUser;
    private String createDept;
    private String createTime;
    private String updateUser;
    private String updateTime;
    private String status;
    private String isDeleted;
    private String orgId;
    private String buildingId;
    private String floorId;
    private String roomId;
    private String controlRoomId;
    private String name;
    private String ip;
    private String port;
    private String type;
    private String accessMode;// 1：EasyNVR、2：萤石云、3：乐橙云
    private String serial;
    private String code;
    private String channelNo;
    private String longitude;
    private String latitude;
    private String brand;
    private String fixType;
    private String address;
    private String isTwirl;
    private String presetIndex;
    private String streamUrl;
    private String imgUrl;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateDept() {
        return createDept;
    }

    public void setCreateDept(String createDept) {
        this.createDept = createDept;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    public String getFloorId() {
        return floorId;
    }

    public void setFloorId(String floorId) {
        this.floorId = floorId;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getControlRoomId() {
        return controlRoomId;
    }

    public void setControlRoomId(String controlRoomId) {
        this.controlRoomId = controlRoomId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAccessMode() {
        return accessMode;
    }

    public void setAccessMode(String accessMode) {
        this.accessMode = accessMode;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitudel(String longitudel) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getFixType() {
        return fixType;
    }

    public void setFixType(String fixType) {
        this.fixType = fixType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIsTwirl() {
        return isTwirl;
    }

    public void setIsTwirl(String isTwirl) {
        this.isTwirl = isTwirl;
    }

    public String getPresetIndex() {
        return presetIndex;
    }

    public void setPresetIndex(String presetIndex) {
        this.presetIndex = presetIndex;
    }

    public String getStreamUrl() {
        return streamUrl;
    }

    public void setStreamUrl(String streamUrl) {
        this.streamUrl = streamUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public JianKongDeviceModel() {
    }

    /**
     * 拼接播放链接
     * @return
     */
    public String getVideoUrl(){
        return "ezopen://open.ys7.com/" + serial + "/"+ channelNo + ".hd.live";
    }
}
